{#
  This Source Code Form is subject to the terms of the Mozilla Public
  License, v. 2.0. If a copy of the MPL was not distributed with this
  file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% macro article_thumbnail_image(image) -%}
  {{ srcset_image(
    image,
    "width-{200,400,600,800,1000,1200}",
    class="mzp-c-card-image",
    sizes="(min-width: 1024px) 33vw', (min-width: 480px) 50vw', 100vw",
    width="460",
    alt="",
    loading="lazy"
  ) }}
{%- endmacro %}

{% macro call_to_action_image(image) %}
  {{ srcset_image(
    image,
    "width-{200,400,600,800,1000,1200}",
    class="mzp-c-split-media-asset",
    sizes="(min-width: 768px) 50vw', 100vw",
    width="400",
    alt="",
    loading="lazy"
  ) }}
{%- endmacro %}
